package com.gilgamesh.mall.sdk.bean.product;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @author peiyao
 * @email sunlightcs@gmail.com
 * @date 2021-01-11 11:27:37
 */
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
@Data
@TableName("t_product")
public class ProductEntity implements Serializable {

    private static final long serialVersionUID = -2215501898635528265L;
    /**
     *
     */
    @TableId
    private Long id;
    /**
     * 商品种类编号
     */
    private String productCode;

    /**
     * 描述
     **/
    private String description;

    /**
     * 三级分类编号
     */
    private Long classfic3Id;
    /**
     * 二级分类编号
     */
    private Long classfic2Id;
    /**
     *
     */
    private Long classficId;
    /**
     *
     */
    private String shopCode;
    /**
     * 创建时间
     */
    private Date createTime;

    /**
    * 展示页图片url
    **/
    private String showPictureUrl;

    private String showPrice;

}
